////////////////////////////////////////////////////////////////////////////
//
//  Crytek Engine Source File.
//  Copyright (C), Crytek Studios, 2008.
// -------------------------------------------------------------------------
//  File name:   TVEventsDialog.h
//  Version:     v1.00
//  Created:     3/4/2008 by Kevin.
//  Compilers:   Visual Studio.NET
//  Description: 
// -------------------------------------------------------------------------
//  History:
//
////////////////////////////////////////////////////////////////////////////

#ifndef __tveventsdialog_h__
#define __tveventsdialog_h__

#if _MSC_VER > 1000
#pragma once
#endif

#include "afxcmn.h"
#include <IMovieSystem.h>

// CTVEventsDialog dialog

class CTVEventsDialog : public CDialog
{
	DECLARE_DYNAMIC(CTVEventsDialog)

public:
	CTVEventsDialog(IAnimSequence *pTrack, CWnd* pParent = NULL);   // standard constructor
	virtual ~CTVEventsDialog();

// Dialog Data
	enum { IDD = IDD_TV_EVENTS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonAddEvent();
	afx_msg void OnBnClickedButtonRemoveEvent();
	afx_msg void OnBnClickedButtonRenameEvent();
	afx_msg void OnBnClickedButtonUpEvent();
	afx_msg void OnBnClickedButtonDownEvent();
	afx_msg void OnListItemChanged(NMHDR *pNMHDR, LRESULT *pResult);

protected:
	virtual BOOL OnInitDialog();

	void UpdateButtons();

private:
	IAnimSequence *m_pSequence;

	// list of events
	CListCtrl m_List;
};

#endif //__tveventsdialog_h__